<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Message" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EzDesk.Apps.Model.Message" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:20502/TopicService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="Topic">
    <xs:sequence>
      <xs:element minOccurs="0" name="ConfirmCount" type="xs:int" />
      <xs:element minOccurs="0" name="CreateOn" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Memberstring" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MessageId" type="ser:guid" />
      <xs:element minOccurs="0" name="MessageInbox" nillable="true" type="tns:ArrayOfMessageInbox" />
      <xs:element minOccurs="0" name="MessageText" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MessageTitle" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NeedConfirm" type="xs:boolean" />
      <xs:element minOccurs="0" name="ReplyCount" type="xs:int" />
      <xs:element minOccurs="0" name="ReplyList" nillable="true" type="tns:ArrayOfSingleMessage" />
      <xs:element minOccurs="0" name="SenderId" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Topic" nillable="true" type="tns:Topic" />
  <xs:complexType name="ArrayOfMessageInbox">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MessageInbox" nillable="true" type="tns:MessageInbox" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMessageInbox" nillable="true" type="tns:ArrayOfMessageInbox" />
  <xs:complexType name="MessageInbox">
    <xs:sequence>
      <xs:element minOccurs="0" name="ConfirmOn" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="tns:Topic" />
      <xs:element minOccurs="0" name="TopicId" type="ser:guid" />
      <xs:element minOccurs="0" name="UserId" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MessageInbox" nillable="true" type="tns:MessageInbox" />
  <xs:complexType name="ArrayOfSingleMessage">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SingleMessage" nillable="true" type="tns:SingleMessage" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSingleMessage" nillable="true" type="tns:ArrayOfSingleMessage" />
  <xs:complexType name="SingleMessage">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreateOn" type="xs:dateTime" />
      <xs:element minOccurs="0" name="MessageId" type="ser:guid" />
      <xs:element minOccurs="0" name="MessageText" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MessageTitle" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ParentMessageId" type="ser:guid" />
      <xs:element minOccurs="0" name="SenderId" type="ser:guid" />
      <xs:element minOccurs="0" name="Topic" nillable="true" type="tns:Topic" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SingleMessage" nillable="true" type="tns:SingleMessage" />
  <xs:complexType name="ArrayOfTopic">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Topic" nillable="true" type="tns:Topic" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTopic" nillable="true" type="tns:ArrayOfTopic" />
</xs:schema>